<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

	<ui:composition>
		<div id="adminBar">
				<ul id="nav">
					<li><a href="#" class="selected">#{cpContent['adminbar.tab.resourcesManagement']}</a></li>
					<li><a href="#">#{cpContent['adminbar.tab.statitics']}</a></li>
					<li><a href="#">#{cpContent['adminbar.tab.report']}</a></li>
				</ul>
		
				<div id="adminProfile">
					<p>
						<h:outputFormat value="#{cpContent['profile.welcomeAdmin']}">
							<f:param value="#{adminProfile.displayName}"></f:param>
						</h:outputFormat>
					</p>
					<h:form id="adminProfileForm">
						<ul>
							<li>
								<h:commandLink value="#{cpContent['profile.changePassword']}" action="#{adminProfile.changePassword}"></h:commandLink>
							</li>
							<li>
								<h:commandLink value="#{cpContent['profile.logout']}" action="#{adminProfile.logout}"></h:commandLink>
							</li>
						</ul>
					</h:form>
				</div>
			</div>
	</ui:composition>
</html>